package com.example.capsule_kafka.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;


/**
 * @Author: zhuzhiming
 * @Date: 2022/4/26 15:44
 */

@Data
@TableName("one_to_one_message")
public class OneToOneMessageBean {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String field;
    private String roomName;
    private String senderId;
    private String senderName;
    private String receiverId;
    private String content;
    private Integer msgType;
    private Timestamp sendTime;
    private int signStatus;
    private String filePath;
    private String senderAvatarLocalPath;
    private String senderAvatarServerPath;
    private String fileSize;

}
